package sch.frog.behavioral.interpreter.calculator.expression.end;

import sch.frog.behavioral.interpreter.calculator.expression.Expression;

public abstract class EndExpression implements Expression {

    public abstract double interpret();

    @Override
    public int getPriority() {
        return 100;
    }

    @Override
    public boolean createBranch(Expression expression) {
        return false;
    }

    @Override
    public boolean isLeaf(){
        return true;
    }
}
